<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta charset="utf-8" />
		<base href="<%=basePath%>">
		<title>文章详细</title>
		<link rel="stylesheet"
			href="assets/plugins/kindeditor/themes/default/default.css" />
		<link rel="stylesheet"
			href="assets/plugins/kindeditor/plugins/code/prettify.css" />
		<script charset="utf-8" src="assets/plugins/kindeditor/kindeditor.js"></script>
		<script charset="utf-8" src="assets/plugins/kindeditor/lang/zh_CN.js"></script>
		<script charset="utf-8"
			src="assets/plugins/kindeditor/plugins/code/prettify.js"></script>

	</head>
	<body>
			
			文章标题：	<s:property value="article.title" /><br /> 
			文章内容：       <s:property value="article.content" /><br />
			文章作者:	<s:property value="article.member.name" /><br />
			发表日期：	<s:property value="article.postdate" /><br />
			文章标签：	<s:property value="article.tags" /><br />
			
			<br/>
			
				<s:iterator id="ar" value="article.arComments">
    				评论内容：${ar.comment}
    				评论者:   ${ar.commenter}<br/> 
				</s:iterator>
			<br>
		
		<br/>
			发表您的评论
				<form action="articleAction!putComment">
					<textarea name="comment"></textarea>
					您的名字：<input type="text" name="commenter"><br />
					<input type="hidden" name="aid" value="<s:property value="article.id" />">
					你的邮箱：<input type="text" name="email" /><br />
					<input type="submit" value="提交评论"/>
				</form>
	</body>
</html>